/**************************
* @Summary
* @Author 20009200303 赵传博
* @Date 6/15/2022
* @Note
*****************************/

#ifndef REVIEW_CPU_H
#define REVIEW_CPU_H

enum CPU_Rank{
    P1 = 1, P2, P3, P4, P5, P6, P7
};

class CPU {
private:
    CPU_Rank rank;
    int frequency;
    float voltage;
public:
    CPU(CPU_Rank _rank = P1, int _frequency = 2, float _voltage = 100);
    CPU(const CPU &other);
    void showinfo();
    ~CPU();
};


#endif //REVIEW_CPU_H
